package system.login.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import system.user.dao.UserDao;
import system.user.dto.User;

@Service
public class SecurityBoxService 
{
	@Autowired
	UserDao userDao;
	public User check(String loginName,String password)
	{
		User user = userDao.getUserObject(loginName, password);
	
		return user;
	}
}
